import request from "./request"
// 默认首页信息
export const HomeApi = () => request.get("/6666")

// 登录接口 
export const LoginApi = (params) => request.post('/1024/login', params)

// 注册接口
export const RegisterApi = (params) => request.post("/1024/register", params)

// 进入练习页面(获取题目分类列表)
export const FenleiApi = (params) => request.get(`/1314/${params.actionCode}/${params.testType}`)

// 题目列表
export const TimuListApi = (params) => request.post('/1314', params)

export const SubmitApi = (params) => request.put('/1314', params)

export const FastApi = () => request.get("/4698")

export const ToggleApi = () => request.get("/6666/field")


export const QiehuanApi = (params) => request.get(`/6666/${params.actionCode}`)

export const MorenApi = (params) => request.post(`/6666/${params.actionCode}`)